package com.modbus.tcp.domain;

import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * 历史报警数据表 alarmdatahis
 *
 * @author d
 * @date 2024-05-13
 */
@Data
public class Alarmdatahis implements Serializable {
    private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "报警历史数据ID")
    @TableField(value = "alarmhistoryid")
    private Long alarmhistoryid;


    @ApiModelProperty(value = "公司名称")
    @TableField(value = "companyname")
    private String companyname;


    @ApiModelProperty(value = "灭火位置ID")
    @TableField(value = "id")
    private Integer id;


    @ApiModelProperty(value = "灭火位置名称")
    @TableField(value = "stopfilename")
    private String stopfilename;


    @ApiModelProperty(value = "IP地址")
    @TableField(value = "hostaddr")
    private String hostaddr;


    @ApiModelProperty(value = "ip端口号")
    @TableField(value = "port")
    private Integer port;


    @ApiModelProperty(value = "球阀ID")
    @TableField(value = "ballvalueid")
    private Integer ballvalueid;


    @ApiModelProperty(value = "分区编号")
    @TableField(value = "partcode")
    private Integer partcode;


    @ApiModelProperty(value = "名称")
    @TableField(value = "name")
    private String name;


    @ApiModelProperty(value = "设备ID")
    @TableField(value = "slaveaddr")
    private Integer slaveaddr;


    @ApiModelProperty(value = "采集通道编号")
    @TableField(value = "channelcode")
    private Integer channelcode;


    @ApiModelProperty(value = "传感器数据")
    @TableField(value = "sensorvalue")
    private Float sensorvalue;


    @ApiModelProperty(value = "传感器名称")
    @TableField(value = "sensorname")
    private String sensorname;


    @ApiModelProperty(value = "传感器报警值")
    @TableField(value = "alarmvalue")
    private Float alarmvalue;


    @ApiModelProperty(value = "修改时间")
    @TableField(value = "datadate")
    private Date datadate;

}